package com.yumi.common;

/**
 * 消息常量
 */
public class MessageConstant {
    // 通用操作消息
    public static final String SUCCESS = "操作成功";
    public static final String ERROR = "操作失败";
    
    // 增删改查消息
    public static final String SAVE_SUCCESS = "保存成功";
    public static final String SAVE_ERROR = "保存失败";
    public static final String UPDATE_SUCCESS = "修改成功";
    public static final String UPDATE_ERROR = "修改失败";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String DELETE_ERROR = "删除失败";
    public static final String QUERY_SUCCESS = "查询成功";
    public static final String QUERY_ERROR = "查询失败";
    
    // 参数校验消息
    public static final String PARAM_ERROR = "参数错误";
    public static final String DATA_NOT_FOUND = "数据不存在";
    public static final String DATA_EXISTED = "数据已存在";
    
    // 员工相关消息
    public static final String EMPLOYEE_NOT_FOUND = "员工不存在";
    public static final String EMPLOYEE_EXISTED = "员工已存在";
    public static final String PHONE_EXISTED = "手机号已存在";
    public static final String EMAIL_EXISTED = "邮箱已存在";
    
    // 系统消息
    public static final String SYSTEM_ERROR = "系统错误，请联系管理员";
    public static final String NETWORK_ERROR = "网络错误，请稍后重试";
} 